package indi.zhifa.recipe.bailan.framework.auth.impl.dao.service;

import indi.zhifa.recipe.bailan.framework.auth.impl.entity.po.AuthNodeEntity;
import indi.zhifa.recipe.bailan.framework.mysql.service.IZfDbService;

import java.util.List;

public interface IAuthNodeDbService extends IZfDbService<AuthNodeEntity> {
    Long findByDomainIdAndCode(Long pDomainId, String pCode);
    List<AuthNodeEntity> listByDomainId(Long pDomainId);
    List<AuthNodeEntity> listByParentId(Long pParentId);
    List<AuthNodeEntity> listByBeginWith(String pCascade);
}
